@charset "UTF-8";/* 初始化*/
@import "step";

.matchtitle{
    height: 2.23rem;
    overflow: hidden;
    position: relative;
    margin: 0 0.3rem;
    border-radius: 5px;
    .bj{
        width: 100%;
        height: 100%;
        display: block;
        overflow: hidden;

    }
    .cont{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(6,29,64,0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        line-height: 0.4rem;
        .bt{
            text-align: center;
            max-height: 100%;
            overflow: hidden;
            img{
                max-height: 0.6rem;
                margin: 0.15rem auto;
                max-width: 2rem;
            }
            .h2{
                font-size: 0.3rem;
                font-weight: bold;
            }
            .lis_a{
                position: relative;
                left: 0;
                top: 0;
                transform: translate(0,0);
                padding-top: 0.1rem;
                a{
                    display: inline;
                    padding: 0 0.1rem;
                }
            }
        }
        .lis_a{
            color: #fff;
            position: absolute;
            line-height: 0.48rem;
            top: 50%;
            right: 0.2rem;
            text-align: center;
            transform: translate(0,-50%);
            a{
                color: #fff;
                display: block;
                text-align: center;
            }
        }
    }
    & + .childnav{
        margin: 0 0.3rem;
        padding: 0 0.2rem;
    }
}

.matchselect{
    padding: 0 0.28rem;
    display: flex;
    padding-bottom: 0.3rem;
    &.between{
        justify-content: space-between;
        padding: 0.2rem 0.28rem;
        .select{
            flex: none;
            min-width: 20%;
            text-align: left;
        }
    }
    .select{
        float: left;
        width: 18%;
        max-width: 50%;
        flex: 1;
        line-height: 0.5rem;
        height: 0.5rem;
        border: solid 0.01rem #cfcfcf;
        border-radius: 0.1rem;
        display: block;
        box-sizing: border-box;
        margin: 0 1%;
        text-align: center;
        cursor: pointer;
        &:hover{
            border-color: $theme;
        } 
        .layui-nav{
            padding: 0;
            background: none;
            color: #222;
            width: 100%;
            .layui-nav-item{
                line-height: 0.38rem;
                 position: relative;
                width: 100%;
                a{
                    padding: 0 0.2rem;
                    font-size: 0.2rem; 
                }
                .bt- {  height: 0.4rem; font-size: 0.2rem; overflow: hidden; width: 100%; display: block; padding: 0 0.25rem 0 0.1rem;  box-sizing: border-box;}
                .bt- i { transform: scale(0.8);}
                
            }
            .layui-nav-child { top: 0.45rem;  line-height: 0.6rem; max-height:4.2rem ; overflow-y: auto;}
            .layui-nav-child a { color: #999; cursor: default; max-width: 4rem; overflow: hidden; padding: 0; margin: 0 0.2rem; }
            .layui-nav-child a[href] { cursor: pointer; color: #222; }
        }
        & + .select + .select + .select{
           .layui-nav-child{
             left: inherit;
             right: 0;
           } 
        }
    }
    

}
.match_table{
   margin: 0 0.3rem;
   .bt-h2{
    padding: 0 !important;
    padding-top: 0.1rem !important;
   }
    .tr,.th{
       display: flex;
       align-items: center;
       position: relative;
       .td{
        &:nth-child(1){
            width:40%;
            padding-left: 0px;
        }
        &:nth-child(2){
           flex: 1;
        }
        &:last-child{
            padding-right: 0px !important;
            position: initial;
         }
       }
    }
    .th{
        height: 0.6rem;
        overflow: hidden;
        line-height: 0.6rem;
        background: #fafafa;
        font-weight: bold;
        .td{
            line-height: 0.6rem;

        }
    }
    .tr{
        border-bottom: 1px solid rgba(0,0,0,0.05);
        flex-wrap: wrap;
        padding: 0.1rem 0;
        &:last-child{
            border-bottom: none;
        }
        .td{
            padding: 0.2rem 0.15rem;
           
        }
    }
    .td{
        padding: 0 0.15rem;
        line-height: 0.5rem;
        position: relative;
        &:first-child{
            position: initial;
            .tips{
                width: 60%;
            }
        }
        &:nth-child(2){
            // min-width: 2rem;
            // max-width: 2rem;
        }
        .tip{
            padding-top: 0.2rem;
            font-size: 0.16rem;
            color: #999;
            overflow: hidden;
            @include multi-line-ellipsis(2,0.3rem);
        }
       .name{
            display: flex;
            overflow: hidden;
            width: 100%;
            align-items: center;
            .lazy{
               width: 1.2rem;
               background: none;
               height: 0.8rem;
                img{
                    position: absolute;
                    width: auto;
                    height: auto;
                    max-width: 1.2rem;
                    max-height: 100%;
                    top:50%;
                    left: 50%;
                    transform: translate(-50%,-50%);
                }
            }
            .ico{
                width: 1.2rem;
                height: 0.8rem;
                border-radius: 0.05rem;
                border: solid 1px rgba(0,0,0,0.2);
               line-height:  0.8rem;
               text-align: center;
               text-transform: capitalize;
               overflow: hidden;

            }
            .p{
                flex: 1;
                overflow: hidden;
                padding-left: 0.2rem;
                max-height: 0.8rem;
               @include multi-line-ellipsis(2, 0.4rem);
            }
        }
        .img_{
            display: inline-block;
            vertical-align: middle;
            position: relative;
            min-width: 20px;
            min-height: 20px;
            margin:0.1rem 0.05rem;
            text-align: center;
            line-height: 20px;
            img{
                height: 0.4rem !important;
                width: auto !important;
                margin: 0 auto;
                position: relative;
                left: 0 !important;
                top: 0 !important;
                
            }
            .lab{
                height: 0.3rem;
                padding: 0 0.05rem;
                border-radius: 0.05rem;
                line-height: 0.3rem;
                font-size: 0.2rem;
                text-align: center;
                display: inline-block;
                min-width: 0.2rem;
                margin-top: 0.1rem;
                overflow: hidden;

            }
            .cor1{background-color: #6300bf; color: #fff;}
            .cor2{background-color: #a30014; color: #fff;}
            .cor3{background-color: #b8741a; color: #fff;}
            .cor4{background-color: #70b603; color: #fff;}
            .cor5{background-color: #027db4; color: #fff;}
            .cor6{background-color: #ffb016; color: #fff;}
            .cor7{background-color: #b6bed3; color: #fff;}
        }

    }
    .lis_p{
        overflow: hidden;
        .img_{
            display: flex !important;
            align-items: center;
            img{
                margin: 0;
            }
            .lab{
                margin-top: 0px;
                margin-left: 0.1rem;
                overflow: hidden;
                word-break: break-all;
            }
        }
    }
    .btn{
        width: 0.8rem;
        height: 0.45rem;
        background-color: #e0ecff;
        line-height:0.45rem;
        overflow: hidden;
        border-radius: 5px;
        text-align: center;
        display: block;
        cursor: pointer;
        margin-left: 0.1rem;
        font-size: 0.22rem;
        &:active{
            background: $theme;
            color: #fff;
        }
    }
    .steup{
        display: flex;

    }
    .w_auto{
        .btn{
            width: auto;
            padding: 0 0.1rem;
        }
    }
    .dropdown{
        position: relative;
        ul{
            display: none;
            position: fixed;
            right: 0;
            top: 0px;
            z-index: 10000;
            background: #fff;
            padding: 0.1rem;
            padding-left: 0px;
            box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
            border-radius: 5px;
            li{
                .btn{
                    width: auto;
                    min-width: 0.6rem;
                    padding: 0 0.1rem;
                    text-align: center;
                }
                padding-bottom: 0.1rem;
            }
        }
    }
    .ul_lis{
        padding: 0.2rem 0;
        .item{
            .th{
                width: 100%;
                display: block;
                font-weight: normal;
                .time{
                    float: left;
                    u{
                        color: #bf2800; 
                    }
                    .cor{
                        color: #e77c00;
                    }
                }
               .tx{
                float: right;
               } 
            }
            .lis{
                display: flex;
                padding: 0.2rem 0;
                align-items: center;
                width: 100%;
                border-bottom: 1px solid rgba(0,0,0,0.05);
                &:last-child{
                    border:none;
                }
                .namebox{
                    text-align: center;
                    line-height: 0.38rem;
                    font-size: 0.22rem;
                    min-width: 1rem;
                }
                .flex1{
                    flex: 1;
                    overflow: hidden;
                    padding: 0 0.1rem;
                    display: flex;
                    align-items: center;
                    .flex{
                        flex: 1;
                        display: flex;
                        align-items: center;
                        padding: 0 0.1rem;
                        line-height: 0.4rem;
                        p{
                            min-width: 0.4rem;
                            text-align: center;
                            &:nth-child(2){
                                flex: 1;
                                color: #ff4c33;
                            }
                            &.mor{
                                color: #000;
                            }
                        }
                    }
                    .bt{
                        width: 1.2rem;
                        text-align: center;
                    }
                    .lazy{
                        width: 1.2rem;
                        height: 0.6rem;
                        display: block;
                        background:none;
                        text-align: center;
                        line-height: 0.6rem;
                        position: relative;
                        img{
                            max-width: 50%;
                            margin: 0 auto;
                            max-height: 100%;
                           height: auto;
                           position: absolute;
                           left: 50%;
                           top: 50%;
                           transform: translate(-50%,-50%);
                            
                        }
                    }


                }
                .open{
                    float: right;
                    display: flex;
                    justify-content: flex-end;
                    min-width: 1rem;
                    ul{
                        li{
                            overflow: hidden;
                        }
                        .btn{
                            float:none;
                        }
                    }
                }
                
            }
        }

    }
    .bth2{
        height: 0.6rem;
        line-height:  0.6rem;
        overflow: hidden;
        text-align: center;
        border-radius: 0.1rem;
        background: rgba(0,0,0,0.1);
        font-size: 0.24rem;
        font-weight: bold ;

    }
    &.theme{
        .tr , .th{
            .td{
                &:first-child{
                    // width: 50%;
                }
            }
        }
       .ul_lis{
        .item .lis{
            .namebox{
                width: 120px;
            }
            .open{
                min-width: 180px;
            }
        }
       } 
    }
    &.theme1{
           .tr,.th{
            .td{
                &:nth-child(1){
                    // width: 25%;
                }
                &:nth-child(2){
                    flex: 0;
                    flex: none;
                    min-width: 1.2rem;
                    .img_{
                        img{
                            display: block;
                        }
                    }
                }
                &:nth-child(3) {
                    flex: 1;
                   text-align: center;
                    min-width: 50px;
                }
                &:nth-child(5){
                    flex: 1;
                    padding: 30px 5px;
                }
                &:last-child{
                    padding-left: 0px;
                   
                }
                 
            }
           }
           
    }
    &.theme2{
        .tr,.th{
           .td{
            min-width: auto;
            line-height: 0.3rem;
            .img_{
                min-height: auto;
                line-height: 0px;
                margin: 0.05rem 0;
            }
            &:nth-child(1){
                width: 30%;
                .name{
                    .lazy{
                        width: 1rem;
                        height: 0.6rem;
                        img{
                            max-width: 0.6rem;
                        }
                    }
                    .p{
                        text-align: center;
                        padding-left: 0.1rem;
                    }
                }
            }
           }

        }
    }
    &.theme3{
        .tr,.th{
            width: 100%;
         .td{
            padding: 0.2rem 0.1rem;
             &:nth-child(1){
                 width: 35%;
                 .name{
                    // .lazy{
                    //     width: 1rem;
                    //     height: 0.6rem;
                    //     img{
                    //         max-width:1rem;
                    //     }
                    // }
                  
                }
             }
             .img_{
                display: block;
             }
             &.lis_p{
                .img_{
                    img{
                        width: 0.4rem;
                        height: auto;
                    }
                    .lab {
                        min-width: 0.5rem;
                        text-align: center;
                    }
                }
                
             }
             &:nth-child(2){
                 flex: 0;
                 flex: none;
                 min-width: 0.5rem;
                 .img_{
                    img{
                        display: block;
                    }
                }
                
             }
             &:nth-child(3){
                .img_{
                   img{
                       display: block;
                   }
               }
               
            }
             &:nth-child(4){
                flex: 1;
             }
             &:nth-child(5){
                 flex: 1;
             }
             &:last-child{
                 padding-left: 0px;
                 flex: 0;
                 float: right;
                
             }
             .steup{
                display: block;
                min-width:1rem;
                .btn{
                    float: right;
                    margin: 0.15rem 0;
                }
             }
              
         }
        }
        
 }
 
    .tips{
        color: #999;
        text-align: center;
        line-height: 0.32rem;
        // position: absolute;
        // left: 0;
        // bottom: 5px;
        padding-bottom: 0.1rem;
        width: 100%;
        font-size: 0.24rem;
        transform: scale(0.9);
      
        &::before{
            content: '?';
            display: inline-block;
            vertical-align: middle;
            width: 0.25rem;
            height: 0.25rem;
            border:1px solid #999;
            text-align: center;
            line-height: 0.25rem;
            font-size: 0.2rem;
            border-radius: 50%;
            margin: -2px 5px 0 0;

        }
    }
}
.matchitem{
    .bt-h2{
        padding: 0 0.3rem;
        padding-top: 0.1rem;
        height: 0.8rem;
        line-height:0.8rem;
        overflow: hidden;
        .more{
            float: right;
            font-size: 0.24rem;
        }
        .h2{
            font-size: 0.3rem;
            overflow: hidden;
            float: left;
            border-bottom: 0.04rem solid $theme;
            height: 0.75rem;
            font-weight: bold;
            margin-right: 0.2rem;
        }
        .tab{
            border-color: transparent;
            font-weight: normal;
            cursor: pointer;
            &.on{
                border-color: $theme;
                color: $theme;
                font-weight: bold;
                a{
                    color: $theme;
                }
            }
        }

    }
}
.newlatest{
    .lunbox{
        position: relative;
        padding: 0.2rem 0;
       .swiper-wrapper{
        height: 1.3rem;
        border-radius: 5px;
        .swiper-slide{
            float: left;
            width: 2.5rem;
            height: 1.3rem;
            overflow: hidden;
            border-radius: 0.05rem;
            position: relative;
            margin-right: 0.2rem;
            &:hover{
                .motai{
                    text-decoration: underline;
                }
            }
            .lazy{
                position: absolute;
                width: 100%;
                height: 100%;
                display: block;
                overflow: hidden;
            }
            .motai{
                position: absolute;
                top: 0px;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0,0,0,0.4);
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                font-size: 0.2rem;
                line-height: 0.35rem;
                p{
                   span{
                    display: block;
                    text-align: center;
                   }
                }

            }
        }
       }
       .prev , .next{
        display: block;
        position: absolute;
        width: 20px;
        height: 80px;
        background: rgba(0,0,0,0.5);
        top: 10px;
        color: #fff;
        font-size: 20px;
        line-height: 80px;
        text-align: center;
        font-family: serif;
        cursor: pointer;
        user-select: none;
        
       }
       .prev{
        border-radius: 5px 0 0 5px ;
        left: 0px;
       }
       .next{
          right: 0;
          border-radius: 0px 5px 5px 0 ;
       }
    }
}
.matchzdlist{
    .list{
        overflow: hidden;
        padding-top: 0.1rem;
        padding-bottom: 0.2rem;
        
        ul{
            li{
                float: left;
                width: 25%;
                padding-top: 0.1rem;
            }
        }
        .lis{
            text-align: center;
            margin-left: 0.3rem;
            margin: 0 auto;
            max-width: 1.5rem;
            display: block;
            .lazy{
                width: 1.1rem;
                height: 1.1rem;
                display: block;
                margin: 0 auto;
                background: none;
                position: relative;
                img{
                    height: auto;
                    max-height: 100%;
                    width: auto;
                    max-width: 95%;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%,-50%);

                }
            }
            p{
                line-height:0.4rem;
                height: 0.4rem;
                text-transform: uppercase;
                padding-top:0.1rem;
                font-size: 0.27rem;
                font-weight: bold;
            }
            span{
                text-align: center;
                display: block;
                color: #999;
                font-size: 0.2rem;
                height: 0.4rem;
                line-height: 0.4rem;
            }
        }
    }
    .tips{
        color: #999;
        text-align: center;
        margin-top: -10px;
        line-height: 25px;
        &::before{
            content: '?';
            display: inline-block;
            vertical-align: middle;
            width: 20px;
            height: 20px;
            border:1px solid #999;
            text-align: center;
            line-height: 20px;
            font-size: 12px;
            border-radius: 50%;
            margin: -2px 5px 0 0;

        }
    }
}

.matchnohtml{
    padding: 0.8rem 0.3rem;
    text-align: center;
    line-height: 0.36rem;
    font-size: 0.24rem;
    color: rgba(0,0,0,0.8);
    i{
        display: inline-block;
        vertical-align: middle;
        background: $theme;
        color: #fff;
        font-size: 0.15rem;
        height: 0.3rem;
        width:  0.3rem;
        border-radius: 50%;
        line-height:0.3rem;
        text-align: center;
        margin: -0.02rem 0.1rem 0 0;
    }
}
.Cont6{
    .swiper-child{
        padding-top: 0.2rem;
        .a{
            padding: 0 0.12rem;
            margin-right: 0.1rem;

        }
    }
}
.matchDateico{
    background: url("../images/eye.png") no-repeat center;
    width: 0.3rem;
    height: 0.3rem;
    display: inline-block;
    background-size: 100% auto;
    margin: -0.05rem 0 0 0.1rem;
    vertical-align: middle;



}

.matchDatebox{
    width: 100%;
    display: flex;
    overflow: hidden;
    line-height: 0.35rem;
    background: rgba(68,68,68,0.05);
    padding: 0.1rem 0;
    color: #444;
    a{
        color: #444;
    }
    .bt{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 0.5rem;
        text-align: center;
        padding: 0 0.1rem;
    }
    .swiper-container{
        flex: 1;
        .swiper-slide{
            width: auto;
            padding: 0 0.1rem;
            text-align: center;
        }
        .now{
            a{
                color: $theme;
            }
        }
    }
}
.matchTodaydata{
 .switchlab{
    text-align: center;
    margin: 0 auto;
    width: auto;
    justify-content: center;
    .swiper-slide{
        padding: 0 0.05rem;
    }
    .on a:after{
        display: none;
    }
 }  
 .list{
    padding-bottom: 0.2rem ;
    &:last-child{
        padding-bottom: 0px;
    }
    .bt-title{
        background: rgba(68,68,68,0.05);
        margin: 0 0.3rem;
        height: 0.5rem;
        line-height: 0.5rem;
        padding: 0 0.15rem;
        font-weight: bold;
        border-radius: 0.1rem;

    }
    .lis{
        .li{
            padding: 0.2rem 0;
            border-bottom: 1px solid #f3f2f2;
            &:last-child{
                border:none;
            }
            .box{
                display: flex;
                align-items: center;
                .time{
                    width: 1rem;
                    text-align: center;
                    padding: 0 0.1rem;
                    overflow: hidden;
                }
                .bt_img{
                    width: 1rem;
                    height: 0.5rem;
                    position: relative;
                    margin-right: 0.1rem;
                    background: none;
                    img{
                        width: auto;
                        height: auto;
                        max-width: 100%;
                        max-height: 100%;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%,-50%);
                    }

                }
                .bt{
                    max-width: 3rem;
                    overflow: hidden;
                    display: block;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    margin-right: 0.1rem;
                }
                .bf{
                    max-width: 3.8rem;
                    overflow: hidden;
                    flex: 1;
                    display: flex;
                    align-items: center;
                    padding: 0 0.1rem;
                    .name{
                        width: 0.5rem;
                        height: 0.5rem;
                        position: relative;
                        background: none;
                        img{
                            width: auto;
                            height: auto;
                            max-width: 100%;
                            max-height: 100%;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%,-50%);
                        }
                      
                    }
                    .tex{
                        flex: 1;
                        padding: 0 0.1rem;
                        overflow: hidden;
                        .name-tex{
                            display: flex;
                            justify-content: center;
                            text-align: center;
                            p{
                                text-transform: uppercase;
                            }
                            .vs{
                               letter-spacing: 0.1rem;
                               padding: 0 0.1rem;
                            }
                            .cor{
                                color: red;
                                letter-spacing:0;padding: 0 0.2rem;
                            }
                        }
                        .p{
                            font-size: 0.24rem;
                            white-space: nowrap;
                            width: 100%;
                            height: 0.2rem;
                            position: relative;
                            margin-top: 0.05rem;
                            span{
                                display: block;
                                position: absolute;
                                left: 50%;
                                top: 50%;

                                transform:translate(-50%,-50%) scale(0.666);
                            }
                        }

                    }


                }
                .flex{
                    flex: 1;
                    display: flex;
                    align-items: center;
                }
                .btn{
                    min-width: 0.6rem;
                    height: 0.45rem;
                    background-color: #e0ecff;
                    padding: 0 0.1rem;
                    line-height:0.45rem;
                    overflow: hidden;
                    border-radius: 5px;
                    text-align: center;
                    display: block;
                    cursor: pointer;
                    margin-left: 0.1rem;
                    font-size: 0.22rem;
                    &:active{
                        background: $theme;
                        color: #fff;
                    }
                }
                .dropdown{
                    position: relative;
                    ul{
                        display: none;
                        position: fixed;
                        right: 0;
                        top: 0px;
                        z-index: 10000;
                        background: #fff;
                        padding: 0.1rem;
                        padding-left: 0px;
                        box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
                        border-radius: 5px;
                        li{
                            .btn{
                                width: auto;
                                min-width: 0.6rem;
                                padding: 0 0.1rem;
                                text-align: center;
                            }
                            padding-bottom: 0.1rem;
                        }
                    }
                }
            }
        }
    }
 } 
}
